#pragma once
#include <cstdint>
#include <string>
#include "Singleton.h"
#include "agencyevent.h"




class AgencyEventMgr
{
public:
    AgencyEventMgr();
    virtual ~AgencyEventMgr();

public:
    static AgencyEventMgr* Instance()
	{
		return CSingleton<AgencyEventMgr>::Instance();
	}

public:
	stAgencyEvent* Get(const std::uint32_t agency_id);
	void Update(stAgencyEvent&& agencyevent);

	stAgencyEvent* GetAgencyId(const std::string& agency_name);

public:
    std::map<std::uint32_t, stAgencyEvent> m_agency_event_infos;
};












